package com.peanut.baby.mvp.trend.list;

import com.peanut.baby.model.Ad;
import com.peanut.baby.model.BBSMoment;
import com.peanut.baby.mvp.BasePresenter;
import com.peanut.baby.mvp.BaseView;

import java.util.List;

/**
 * Created by anonymouslystudio on 2017/8/23.
 */

public interface TrendListContract {
    interface View extends BaseView{
        void onMomentsGet(List<BBSMoment> moments);
        void onGetMomentsFailed(String reason);
        void onBannerGet(boolean success, List<Ad> ads, String failReason);
    }

    interface Presenter extends BasePresenter{
        void getUserMoments(String userId, int pageNo, int pageSize);
        void getHotMoments(int pageNo, int pageSize);
        void getCircleMoments(int pageNo, int pageSize);
        void getAllMoments(int pageNo, int pageSize);
        void getBanner(int type);
    }
}
